TODO: Read papers, now write this
\subsection{Cyclomatic Complexity} \label{sec:relworkcc}
WORK QUESTION: What is cyclomatic complexity? use \cite{mccabe1976complexity} here\\
WORK QUESTION: How is it useful and what are the drawbacks.? use \cite{mccabe1976complexity} here. Use \cite{shepperd1988critique} here\\
WORK QUESTION: What are drawbacks related to integration code? Explain that CC per method is this case is not usefull and that a class is one mapping and the complexity should be seen as a whole. Use \cite {gill1991cyclomatic} to give CC per LoC alternative instead of method cc. 

\subsection{Cognitive Load Theory}\label{sec:relworkctl}
WORK QUESTION: What is it? Cite work done for requirements enigeering.\\
WORK QUESTION: How does it relate to software ? Use \cite{robillard1999role} here\\
WORK QUESTION: Can we extend this to code complexity?\\
Our brain forms schema's for patterns in code. Software patterns like the Visitor pattern are examples of this. If a developer sees code where a visitor pattern is correctly applied to it can look through the details and see the common pattern. A developer will understand the code more quickly, because it poses less cognitive load. Use \cite{coulter1983software} here